package com.wu.client.constant;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;

/**
 * @author Cousin
 * @date 2025/3/23
 * @Description
 */
@Data
public class PlaylistCategories {
    // 用于表示主要的分类类型
    @Getter
    @AllArgsConstructor
    public enum CategoryType {
        RECENTLY_USED(0,"最近常用"),
        HOT(1,"热门"),
        THEME(2,"主题"),
        SCENE(3,"场景"),
        MOOD(4,"心情"),
        OTHER(5,"其他");
        private final Integer code;
        private final String name;
    }

   @AllArgsConstructor
   @Getter
    public enum Category {

        CLASSIC(1, "经典", CategoryType.THEME),
        NOSTALGIC(2, "怀旧", CategoryType.THEME),
        LIGHT_MUSIC(3, "轻音乐", CategoryType.THEME),
        MOVIE_SOUNDS(4, "影视原声", CategoryType.THEME),
        ACG(5, "ACG", CategoryType.THEME),

        LOVE_SONG(6, "情歌", CategoryType.SCENE),
        CITY(7, "城市", CategoryType.SCENE),
        TRAVEL(8, "旅行", CategoryType.SCENE),
        NIGHT(9, "夜晚", CategoryType.SCENE),
        MORNING(10, "清晨", CategoryType.SCENE),

        STUDY(11, "学习", CategoryType.SCENE),
        WORK(12, "工作", CategoryType.SCENE),
        SPORTS(13, "运动", CategoryType.SCENE),
        DRIVING(14, "驾驶", CategoryType.SCENE),
        RELAX(15, "放松", CategoryType.SCENE),

        SAD(16, "伤感", CategoryType.MOOD),
        HEALING(17, "治愈", CategoryType.MOOD),
        INSPIRATIONAL(18, "励志", CategoryType.MOOD),
        SWEET(19, "甜蜜", CategoryType.MOOD),
        MISSING(20, "思念", CategoryType.MOOD),

        CLASSICAL(21, "古典", CategoryType.OTHER),
        JAZZ(22, "爵士", CategoryType.OTHER),
        BLUES(23, "蓝调", CategoryType.OTHER),
        COUNTRY(24, "乡村", CategoryType.OTHER),
        HIP_HOP(25, "嘻哈", CategoryType.OTHER),
        RNB(26, "R&B", CategoryType.OTHER),
        ELECTRONIC(27, "电子", CategoryType.OTHER),
        WORLD_MUSIC(28, "世界音乐", CategoryType.OTHER);

        private final Integer id;
        private final String name;
        private final CategoryType categoryType;
    }

}
